import { doPost, doGet } from './request'
import { API } from './apis';

/**
 * 测试axios 请求
 * @param {*Object} data 用户名和登陆
 */
export function testAxios(data) {
  const url = API.get('test');
  return doGet(url, data);
}